import Vue from 'vue';

const list = (params) => {
    return Vue.prototype.$u.get('feedback/list', params);
};

const detail = (params) => {
    return Vue.prototype.$u.get('feedback/detail', params);
};

const action = (params) => {
    return Vue.prototype.$u.post('feedback/action', params);
};

export default {
    list,
    detail,
    action
};
